@import "params";

@keyframes ani-breathing-50 {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: .85;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

@keyframes ani-breathing-30 {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: .65;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

.custom-marker-wrapper{
  position: absolute;
  color: #F07B5F;
  height: rem(80);
  .marker{
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    .label{
      color: inherit;
      height: rem(40);
      line-height: rem(20);
      font-size: rem(16);
      padding: rem(10);
      border-radius: rem(4);
      font-weight: 700;
      box-sizing: border-box;
      span{
        color: #FFFFFF;
      }
    }
    .base{
      color: inherit;
      @include square(rem(20));
      background-color: currentColor;
      border-radius: 50%;
      transform: rotateX(36deg);
      &:before,
      &:after{
        content: '';
        display: block;
        position: absolute;
        border-radius: 50%;
        border: rem(4) currentColor solid;
        @include square(100%);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
      &:before{
        @include square(rem(40));
        opacity: .5;
        animation: ani-breathing-50 4s infinite linear;
      }
      &:after{
        @include square(rem(60));
        opacity: .3;
        animation: ani-breathing-30 4s infinite linear;
      }
    }
  }
}

.custom-info-window{
  @include fontSie(20);
  color: #000f15;
  position: relative;
  &:before{
    content: 'x';
    position: absolute;
    top: rem(-40);
    right: rem(6);
  }
}
